package cn.itsource.hrm.service;

import cn.itsource.hrm.document.CourseDoc;
import cn.itsource.hrm.query.CourseQuery;
import cn.itsource.hrm.result.AggrAjaxResult;
import cn.itsource.hrm.util.PageList;
import org.springframework.data.domain.Page;


public interface ISearchService {
    /**
     * 保存课程到ES中 
     * @param doc
     */
    void save(CourseDoc doc);

    /**
     * 课程列表检索
     * @param query
     * @return
     */
    AggrAjaxResult searchCourse(CourseQuery query);
}
